<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>replace_str</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<pre>
<span class='curline'><a href='../S/lib--search.h.html#L157'>replace_str</a>       157 lib/search.h   GString *mc_search_prepare_replace_str (mc_search_t * mc_search, GString * replace_str);</span>
<span class='curline'><a href='../S/lib--search.h.html#L158'>replace_str</a>       158 lib/search.h   char *mc_search_prepare_replace_str2 (mc_search_t * lc_mc_search, const char *replace_str);</span>
<span class='curline'><a href='../S/lib--search--glob.c.html#L192'>replace_str</a>       192 lib/search/glob.c mc_search_glob_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str)</span>
<span class='curline'><a href='../S/lib--search--glob.c.html#L194'>replace_str</a>       194 lib/search/glob.c     GString *repl = mc_search__translate_replace_glob_to_regex (replace_str-&gt;str);</span>
<span class='curline'><a href='../S/lib--search--hex.c.html#L222'>replace_str</a>       222 lib/search/hex.c mc_search_hex_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str)</span>
<span class='curline'><a href='../S/lib--search--hex.c.html#L225'>replace_str</a>       225 lib/search/hex.c     return g_string_new_len (replace_str-&gt;str, replace_str-&gt;len);</span>
<span class='curline'><a href='../S/lib--search--normal.c.html#L109'>replace_str</a>       109 lib/search/normal.c mc_search_normal_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str)</span>
<span class='curline'><a href='../S/lib--search--normal.c.html#L112'>replace_str</a>       112 lib/search/normal.c     return g_string_new_len (replace_str-&gt;str, replace_str-&gt;len);</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L453'>replace_str</a>       453 lib/search/regex.c mc_search_regex__replace_handle_esc_seq (const GString * replace_str, const gsize current_pos,</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L456'>replace_str</a>       456 lib/search/regex.c     char *curr_str = &amp;(replace_str-&gt;str[current_pos]);</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L459'>replace_str</a>       459 lib/search/regex.c     if (replace_str-&gt;len &gt; current_pos + 2)</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L464'>replace_str</a>       464 lib/search/regex.c                  current_pos + *skip_len &lt; replace_str-&gt;len &amp;&amp; curr_str[*skip_len] &gt;= '0'</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L468'>replace_str</a>       468 lib/search/regex.c             if (current_pos + *skip_len &lt; replace_str-&gt;len &amp;&amp; curr_str[*skip_len] == '}')</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L488'>replace_str</a>       488 lib/search/regex.c                      current_pos + *skip_len &lt; replace_str-&gt;len</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L492'>replace_str</a>       492 lib/search/regex.c                 if (current_pos + *skip_len &lt; replace_str-&gt;len &amp;&amp; curr_str[*skip_len] == '}')</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L535'>replace_str</a>       535 lib/search/regex.c mc_search_regex__process_replace_str (const GString * replace_str, const gsize current_pos,</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L539'>replace_str</a>       539 lib/search/regex.c     const char *curr_str = &amp;(replace_str-&gt;str[current_pos]);</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L541'>replace_str</a>       541 lib/search/regex.c     if (current_pos &gt; replace_str-&gt;len)</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L546'>replace_str</a>       546 lib/search/regex.c     if (replace_str-&gt;len &gt; current_pos + 2 &amp;&amp; curr_str[0] == '$' &amp;&amp; curr_str[1] == '{'</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L551'>replace_str</a>       551 lib/search/regex.c         if (strutils_is_char_escaped (replace_str-&gt;str, curr_str))</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L558'>replace_str</a>       558 lib/search/regex.c              current_pos + *skip_len + 2 &lt; replace_str-&gt;len</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L576'>replace_str</a>       576 lib/search/regex.c     if (curr_str[0] == '\\' &amp;&amp; replace_str-&gt;len &gt; current_pos + 1)</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L578'>replace_str</a>       578 lib/search/regex.c         if (strutils_is_char_escaped (replace_str-&gt;str, curr_str))</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L591'>replace_str</a>       591 lib/search/regex.c         if (!mc_search_regex__replace_handle_esc_seq (replace_str, current_pos, skip_len, &amp;ret))</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L996'>replace_str</a>       996 lib/search/regex.c mc_search_regex_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str)</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L1006'>replace_str</a>      1006 lib/search/regex.c         mc_search_regex__get_max_num_of_replace_tokens (replace_str-&gt;str, replace_str-&gt;len);</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L1009'>replace_str</a>      1009 lib/search/regex.c         return g_string_new_len (replace_str-&gt;str, replace_str-&gt;len);</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L1021'>replace_str</a>      1021 lib/search/regex.c     for (loop = 0; loop &lt; replace_str-&gt;len - 1; loop++)</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L1027'>replace_str</a>      1027 lib/search/regex.c         lc_index = mc_search_regex__process_replace_str (replace_str, loop, &amp;len, &amp;replace_flags);</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L1033'>replace_str</a>      1033 lib/search/regex.c                 mc_search_regex__process_append_str (ret, replace_str-&gt;str + prev, loop - prev,</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L1035'>replace_str</a>      1035 lib/search/regex.c                 mc_search_regex__process_append_str (ret, replace_str-&gt;str + loop + 1, len - 1,</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L1047'>replace_str</a>      1047 lib/search/regex.c                 mc_search_regex__process_append_str (ret, replace_str-&gt;str + prev, loop - prev,</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L1057'>replace_str</a>      1057 lib/search/regex.c             mc_search_regex__process_append_str (ret, replace_str-&gt;str + prev, loop - prev,</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L1060'>replace_str</a>      1060 lib/search/regex.c             mc_search_regex__process_escape_sequence (ret, replace_str-&gt;str + loop + 1, len - 1,</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L1079'>replace_str</a>      1079 lib/search/regex.c             mc_search_regex__process_append_str (ret, replace_str-&gt;str + prev, loop - prev,</span>
<span class='curline'><a href='../S/lib--search--regex.c.html#L1089'>replace_str</a>      1089 lib/search/regex.c     mc_search_regex__process_append_str (ret, replace_str-&gt;str + prev, replace_str-&gt;len - prev,</span>
<span class='curline'><a href='../S/lib--search--search.c.html#L358'>replace_str</a>       358 lib/search/search.c mc_search_prepare_replace_str (mc_search_t * lc_mc_search, GString * replace_str)</span>
<span class='curline'><a href='../S/lib--search--search.c.html#L362'>replace_str</a>       362 lib/search/search.c     if (replace_str == NULL || replace_str-&gt;len == 0)</span>
<span class='curline'><a href='../S/lib--search--search.c.html#L366'>replace_str</a>       366 lib/search/search.c         return g_string_new_len (replace_str-&gt;str, replace_str-&gt;len);</span>
<span class='curline'><a href='../S/lib--search--search.c.html#L371'>replace_str</a>       371 lib/search/search.c         ret = mc_search_regex_prepare_replace_str (lc_mc_search, replace_str);</span>
<span class='curline'><a href='../S/lib--search--search.c.html#L374'>replace_str</a>       374 lib/search/search.c         ret = mc_search_glob_prepare_replace_str (lc_mc_search, replace_str);</span>
<span class='curline'><a href='../S/lib--search--search.c.html#L377'>replace_str</a>       377 lib/search/search.c         ret = mc_search_normal_prepare_replace_str (lc_mc_search, replace_str);</span>
<span class='curline'><a href='../S/lib--search--search.c.html#L380'>replace_str</a>       380 lib/search/search.c         ret = mc_search_hex_prepare_replace_str (lc_mc_search, replace_str);</span>
<span class='curline'><a href='../S/lib--search--search.c.html#L383'>replace_str</a>       383 lib/search/search.c         ret = g_string_new_len (replace_str-&gt;str, replace_str-&gt;len);</span>
<span class='curline'><a href='../S/lib--search--search.c.html#L392'>replace_str</a>       392 lib/search/search.c mc_search_prepare_replace_str2 (mc_search_t * lc_mc_search, const char *replace_str)</span>
<span class='curline'><a href='../S/lib--search--search.c.html#L397'>replace_str</a>       397 lib/search/search.c     replace_str2 = g_string_new (replace_str);</span>
<span class='curline'><a href='../S/tests--lib--search--glob_prepare_replace_str.c.html#L40'>replace_str</a>        40 tests/lib/search/glob_prepare_replace_str.c     const char *replace_str;</span>
<span class='curline'><a href='../S/tests--lib--search--glob_prepare_replace_str.c.html#L80'>replace_str</a>        80 tests/lib/search/glob_prepare_replace_str.c     dest_str = mc_search_prepare_replace_str2 (s, (char *) data-&gt;replace_str);</span>
<span class='curline'><a href='../S/tests--lib--search--regex_replace_esc_seq.c.html#L44'>replace_str</a>        44 tests/lib/search/regex_replace_esc_seq.c         mc_search_regex__replace_handle_esc_seq( replace_str, pos, &amp;skip_len, &amp;ret ), r,\</span>
<span class='curline'><a href='../S/tests--lib--search--regex_replace_esc_seq.c.html#L185'>replace_str</a>       185 tests/lib/search/regex_replace_esc_seq.c     GString *replace_str;</span>
<span class='curline'><a href='../S/tests--lib--search--regex_replace_esc_seq.c.html#L190'>replace_str</a>       190 tests/lib/search/regex_replace_esc_seq.c     replace_str = g_string_new (data-&gt;input_string);</span>
<span class='curline'><a href='../S/tests--lib--search--regex_replace_esc_seq.c.html#L194'>replace_str</a>       194 tests/lib/search/regex_replace_esc_seq.c         mc_search_regex__replace_handle_esc_seq (replace_str, data-&gt;input_pos, &amp;actual_skipped_len,</span>
<span class='curline'><a href='../S/tests--lib--search--regex_replace_esc_seq.c.html#L202'>replace_str</a>       202 tests/lib/search/regex_replace_esc_seq.c     g_string_free (replace_str, TRUE);</span>
</pre>
</body>
</html>
